package com.tianbing.adlottery.controller;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;

/**
 * MultiActionController for the image list/upload UI.
 * 
 * @author Conan Chen
 * @since 2006.12.15
 */
public class HomeController extends MultiActionController {
	Logger logger = Logger.getLogger(HomeController.class.getName());

	private String homeView;


	public ModelAndView showHome(HttpServletRequest request, HttpServletResponse response) throws Exception {

		ModelAndView mv = new ModelAndView(homeView);
		Map<String, Object> model = mv.getModel();
		return mv;
	}


	/**
	 * @param homeView the homeView to set
	 */
	public void setHomeView(String homeView) {
		this.homeView = homeView;
	}

	
}
